Top 10k strings from Study Maths 1 - 13 years+ - Battleships (1983)(Scisoft).z80 in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Utilities & Educational / Sinclair ZX Spectrum - Utilities & Educational - [Z80] (TOSEC-v2007-01-01) /

Back to the directory listing

   3 "battleship"
   2 z$="Battleships":
   2 fired=fired+1
   2 finished=1
   1 z$="BATTLESHIPS":
   1 update=9300
   1 title=9000
   1 ship=a(fx+1
   1 setup=7000
   1 setscreen=6000
   1 s(ship)=s(ship)-1
   1 instructions
   1 instr=8000
   1 getmove=5000
   1 finished=0
   1 finished):
   1 finished)+("
   1 enter=9100
   1 d(ssunk)=d(ssunk)+1
   1 clear=9200
   1 battleship
   1 a(x+m*dx,y+m*dy)=n:
   1 a$(x+m*dx,y+m*dy)="
   1 a$(x+dx*m,y+dy*m)
   1 By P.W.Cooke
   1 A BATTLESHIPS
   1 ;"you've sunk a ";("
   1 ;"shots fired";
   1 ;"ships sunk";
   1 ;"destroyers";
   1 ;"cruisers";
   1 ;"battleships";
   1 ;"Well done !!"'n$''"   You sank all the ships"'"   in ";fired;" shots"
   1 ;"Type in your name, then"'"    press 
   1 ;"Type in the coordinates of the  square you want to fire at"'"co-ordinates (";
   1 ;"The object of the game is to"'"sink all the ships."
   1 ;"STILL LOADING";
   1 ;"LEAVE TAPE RUNNING"'':
   1 ;"Hello ";n$''"Do you want Instructions ?"'"Press 
   1 ;"Do you want to play Battleships again ?"''"Press 
   1 ;"Battleships"''''"When you start this game the"'"computer will show you a ten by"'"ten grid."
   1 ;"Battleships"''''"To fire you type in the"'"co-ordinates of the square you"'"want to fire at."''"First the X co-ordinate (across)then the Y co-ordinate (up)."
   1 ;"4 Destroyers"
   1 ;"3 Cruisers";
   1 ;"2 Battleships";
   1 ;"0123456789":
   1 ;" Please wait while the computer "'"
   1 / YOU HAVE PRESSED BREAK AND
   1 , PRESS THE 
   1 )+(m=len)):
   1 ''"The computer will tell you if"'"you have hit anything !!"
   1 ''"Hidden somewhere on the grid are";
   1 '"NO"''"O.K. then, ";"goodbye "'n$''"Keep up the good shooting."
   1  to give up"
   1  to continue"
   1  hides the ships
   1  TO PLAY AGAIN .
   1  Scisoft 1983":
   1  STOPPED THE PROGRAM.
   1   Given up  
   1   Game over